const dotenv = require('dotenv')
const path = require('path')

const envFile = `.env.${process.env.NODE_ENV || 'development'}`
dotenv.config({ path: path.join(__dirname, '../env', envFile) })

module.exports = dotenv
